package com.crb.crm.manage.service.biz;

import com.crb.crm.manage.entity.biz.UploadRecordSearchDTO;
import com.crb.crm.manage.pojo.User;
import com.crb.crm.manage.utils.PageDataResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * Package: com.crb.crm.manage.service.biz
 * Description：
 * Author: huangjian
 * Date:  2020/9/7 15:19
 * Modified By:
 */
public interface UploadRecordService {

    PageDataResult getUploadRecords(UploadRecordSearchDTO search,
                                    Integer page,
                                    Integer limit);

    Map<String, Object> upload(MultipartFile file,
                               String templateCode,
                               User existUser);
}
